package cn.dnui_wwt524.dnuifood_16110100524.service;

import cn.dnui_wwt524.dnuifood_16110100524.bean.ResultBean;
import cn.dnui_wwt524.dnuifood_16110100524.bean.UserBean;
import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;

public interface UserService {
        @GET("userLogin.do")
        Call<UserBean> doLogin(
                @Query("username") String username,
                @Query("userpass") String password);

@GET("userRegister.do")
    Call<ResultBean> doRegister(@Query("username")String username,
                                @Query("userpass")String userpass,
                                @Query("mobilenum")String mobilenum,
                                @Query("address")String address,
                                @Query("comment")String comment);
}
